<template>
	<div class="toTop" @click="clickFn">
		
	</div>
</template>

<script>
	export default{
		name:"toTop",
		data(){
			return{
				
			}
		},
		methods:{
			clickFn(){
				this.$emit("clickHandle")
			}
		}
	}
</script>

<style scoped="scoped">
	.toTop{
		width: 0.8rem;
		height: 0.8rem;
		position: fixed;
		top: 75%;
		right: 0.5%;
		z-index: 3;
		background-color: white;
		background: url(../assets/icon7.png) no-repeat -2.12rem -0.11rem;
		background-size: 3.52rem 3rem;
		transform: scale(1.3);
	}
</style>
